Objects Reference

textcache::update_picture

Prototype

virtual void update_picture(int picnum,int sx,int sy,int bytespixel,unsigned char *buf)=0

Parameters

Parameter Type Description
picnum int picture index
sx int size in x (power of 2)
sy int size in y (power of 2)
bytespixel int bytes per pixel (3 or 4)
buf unsigned char * picture pixels (sx*sy*bytespixel)

Return Value

None

Remarks

This virtual function is used to update the picture in the picture manager with a new pixel array.